package com.ywk.pattern._15_abstractfactory._15_4;

public class Main {
    public static void main(String[] args) {
        User user = new User();
        SqlServerFactory sqlServerFactory = new SqlServerFactory();
        IUser iUser = sqlServerFactory.createUser();
        sqlServerFactory.createDepartment();
        iUser.insert(user);
        iUser.GetUser(2);
    }
}
